package cn.yanxiaohui.common.util.constant;

/**
 * @author yanxh
 */
public class UserEnum {
    /**
     * 用户类型枚举
     */
    public enum Type{

        ADMIN(1, "管理员"), NORMAL(2, "普通用户");

        private int type;

        private String message;

        Type(int type, String message) {
            this.type = type;
            this.message = message;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }
    }
}
